// fetch
import { IHomeApi } from '@/types/index'
export function getHomeData(obj: IHomeApi) {
  console.log(obj)
  return fetch('/api/news_latest').then(res => res.json())
}

